package com.miniapp.conifg.wechatOpen;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author <a href="https://github.com/007gzs">007</a>
 */
@Component
@ConfigurationProperties(prefix = "wechat.domain")
public class WechatDomainProperties {
    /**
     * 设置小程序服务域名
     */
    private String[] requestdomain;

    /**
     *socket合法域名
     */
    private String[] wsrequestdomain;

    /**
     * uploadFile合法域名
     */
    private String[] uploaddomain;

    /**
     *  downloadFile合法域名，
     */
    private String[] downloaddomain;

    /**
     *  设置小程序业务域名
     */
    private String[] webviewdomain;


    public String[] getWebviewdomain() {
        return webviewdomain;
    }

    public void setWebviewdomain(String[] webviewdomain) {
        this.webviewdomain = webviewdomain;
    }

    public String[] getRequestdomain() {
        return requestdomain;
    }

    public void setRequestdomain(String[] requestdomain) {
        this.requestdomain = requestdomain;
    }

    public String[] getWsrequestdomain() {
        return wsrequestdomain;
    }

    public void setWsrequestdomain(String[] wsrequestdomain) {
        this.wsrequestdomain = wsrequestdomain;
    }

    public String[] getUploaddomain() {
        return uploaddomain;
    }

    public void setUploaddomain(String[] uploaddomain) {
        this.uploaddomain = uploaddomain;
    }

    public String[] getDownloaddomain() {
        return downloaddomain;
    }

    public void setDownloaddomain(String[] downloaddomain) {
        this.downloaddomain = downloaddomain;
    }
}